package goods.service.impl;

import goods.service.ShopServiceFeignClient;
import common.model.result.Result;
import common.model.result.ResultCodeEnum;
import org.springframework.stereotype.Service;

@Service
public class ShopServiceFeignClientFallback implements ShopServiceFeignClient {
    @Override
    public Result getShopById(Long id) {
        return Result.failure(ResultCodeEnum.SERVER_ERROR, "获取商铺失败");
    }
    @Override
    public Result updateShopScore(Long shopId, Double score) {
        return Result.failure(ResultCodeEnum.SERVER_ERROR, "更新商铺评分失败");
    }
}
